From: Automeris naranja Date: Thu, 21 Sep 2023 15:06:42 +0000 (-0300) Subject: welcomeDialog: Rename "No Thanks" button label to "Skip" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~353 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=85e05ffc48d95a921769664adb3d828178fc5206;p=gnome-shell.git welcomeDialog: Rename "No Thanks" button label to "Skip" "Skip" is a more accurate label for the current "No Thanks" button. Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3951 Part-of: --- diff --git a/js/ui/welcomeDialog.js b/js/ui/welcomeDialog.js index 6c5507fa7..d1b02b3aa 100644 --- a/js/ui/welcomeDialog.js +++ b/js/ui/welcomeDialog.js @@ -12,7 +12,7 @@ import * as ModalDialog from './modalDialog.js'; /** @enum {number} */ const DialogResponse = { - NO_THANKS: 0, + SKIP: 0, TAKE_TOUR: 1, }; @@ -46,8 +46,8 @@ class WelcomeDialog extends ModalDialog.ModalDialog { this.contentLayout.add_child(content); this.addButton({ - label: _('No Thanks'), - action: () => this._sendResponse(DialogResponse.NO_THANKS), + label: _('Skip'), + action: () => this._sendResponse(DialogResponse.SKIP), key: Clutter.KEY_Escape, }); this.addButton({